package com.fuego.creditsystemcommodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.dto.Result;
import org.example.entity.GoodOrder;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */

public interface IGoodOrderService extends IService<GoodOrder> {
    Result goodInfo(Long goodId, Long userId,Long amount);
    void createGoodOrder(GoodOrder goodOrder);


    Result queryAllOrders(Long userId);

    Result refund(Long orderId);

}
